import request from '@/utils/request'

// 查询贷款审核列表
export function listApproval1(query) {
  return request({
    url: '/approval1/approval1/list',
    method: 'get',
    params: query
  })
}

// 查询贷款审核详细
export function getApproval1(approvalId) {
  return request({
    url: '/approval1/approval1/' + approvalId,
    method: 'get'
  })
}

// 新增贷款审核
export function addApproval1(data) {
  return request({
    url: '/approval1/approval1',
    method: 'post',
    data: data
  })
}

// 修改贷款审核
export function updateApproval1(data) {
  return request({
    url: '/approval1/approval1',
    method: 'put',
    data: data
  })
}

// 删除贷款审核
export function delApproval1(approvalId) {
  return request({
    url: '/approval1/approval1/' + approvalId,
    method: 'delete'
  })
}
